We use b - spline smoothing technique to smooth the characteristic function without changing the integral quantity and get a differentiable weight function . the method considerably improves the quality of sampling points 我们用b样条磨光技术在不改变积分值的前提下磨光特征函数,用可微的权重函数代替特征函数,提高了采样的质量。